/*
 * Copyright 2011 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.lansir.af.ui;

import net.youmi.android.AdManager;

import org.lansir.af.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * A fragment used in {@link HomeActivity} that shows either a countdown, 'now
 * playing' link to current sessions, or 'thank you' text, at different times
 * (before/during/after the conference). It also shows a 'Realtime Search'
 * button on phones, as a replacement for the {@link TagStreamFragment} that is
 * visible on tablets on the home screen.
 */
public class WhatsOnFragment extends Fragment {

	static {
		// 应用Id 应用密码 广告请求间隔(s) 设置测试模式[false为发布模式]
		AdManager.init("54628a00fbe47320", "7134fbd771fc2504", 30, false);
	}

	private ViewGroup mRootView;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		mRootView = (ViewGroup) inflater.inflate(R.layout.fragment_whats_on, container);

		return mRootView;
	}

}
